package cn.wsalix.shop.form;

import javax.validation.constraints.NotNull;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.anlaser.form.SimpleForm;
import cn.wsalix.shop.entity.Product;
import cn.wsalix.status.PriceEnum;
@Data
@EqualsAndHashCode(callSuper = false)
public class PriceForm extends SimpleForm {	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8509237758747651413L;
	private String title;//购买数量-
	private int num;//购买数量-
	private Integer price;
	private boolean original;
	private boolean tuan;
	private int tuanNum;//购买数量
	private PriceEnum type;
	@NotNull
	private Long productId;
	
	private Product product;
}
